import request from '@/utils/request'
export function getProcessList(params) {
  return request({
    url: `/user/process/instance/${params.page}/${params.pageSize}`,
    params
  })
}
// 查询审批单的详情数据
export function getProcessInfo(id) {
  return request({
    url: `/user/process/instance/${id}`
  })
}

// 查询审批单审批明细
export function getTaskList(id) {
  return request({
    url: `/user/process/instance/tasks/detail/${id}`
  })
}

